package com.hejie.videoservice.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "aws.s3")
@Data
public class S3Config {
    private String accessKey;
    private String secretKey;
    private String region;
    private String bucketName;
    private String endpoint;
    private boolean pathStyleAccessEnabled = true;
    private int connectionTimeout = 5000;
    private int socketTimeout = 30000;
}